home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_200
/
299_01
/
crews4.ex
< prev
next >
Wrap
Text File
|
1989-12-28
|
899b
|
41 lines
Example 4. An Example of Output Generated by a Hydraulic Analysis
Program using MEL. (From the input data given in Example 1.)
program,
name = 'HAPN - Hydraulic Analysis of Piping Networks',
problem_title = 'Example Problem Illustrating MEL';
message,
text = 'Date: Thu Jul 13 09:02:11 1989';
message,
text = 'Input filename: input';
equations,
node = 0,
loop = 0,
iterations = 7;
branch,
number = 100,
type = 'independent_branch',
flow_rate = 436238 (lbm/h),
flow_change = -6.20476e-007 (%),
flow_dp = 2.17 (psi),
elevation_dp = 0 (psi);
component,
branch_number = 100,
component_number = 0,
type = 'pipe',
resistance = 4.95228 (Pa*s2/kg2),
change_resistance = -1.24095e-008 (%),
pressure_drop = 2.17 (psi);
node,
number = 1,
pressure = 8.67 (psi);
node,
number = 2,
pressure = 6.5 (psi);
next;